#define _CRT_SECURE_NO_WARNINGS
#include"List.h"



void test1()
{
	//LTNode* list = NULL;
	//LTInit(&list);

	LTNode* list = LTInit();
	LTPushBack(list, 9);
	LTPushBack(list, 95);
	LTPrint(list);

	LTPushFront(list, 99);
	LTPushFront(list, 98);
	LTPrint(list);

	/*LTPopBack(list);
	LTPopBack(list);
	LTPrint(list);*/


	//LTPopFront(list);
	//LTPopFront(list);
	//LTPrint(list);

	LTNode* find = LTFind(list, 99);
	LTErase(find);
	LTPrint(list);

	LTDesTroy(list);
	list = NULL;


}

int main()
{
	test1();
	return 0;
}